package com.example.common.base;

import android.content.Context;
import android.view.ViewGroup;

public abstract class AbsMainViewHoler extends AbsViewHolder {

    protected boolean isFastLoadData = true;
    private boolean mShowed;

    public AbsMainViewHoler(Context context, ViewGroup parentView) {
        super(context, parentView);
    }


    public void loadData() {

    }

    protected boolean isFastLoadData() {
        if (isFastLoadData) {
            isFastLoadData = false;
            return true;
        }
        return false;
    }

    public void setShowed(boolean showed) {
        mShowed = showed;
    }

    public boolean getShowed() {
        return mShowed;
    }
}
